/**
 * @author Yuliy Khorolinskyy
 *
 * Reaktionsspiel data
 *
 * 12.01.2012
 */
package data;

/**
 * Model for every information related to a single challenge. Contains the name, a description, the number of rounds to play the challenge and the amount of time this challenge should be played at maximum in seconds.
 */
public class ChallengeData {
	private String name;
	private String description;
	private int rounds = 3;
	
	
	public ChallengeData(String name, String description, int rounds) {
		this.name = name;
		this.description = description;
		this.rounds = rounds;
	}
	
	private ChallengeData() {
		this("default");
	}
	
	public ChallengeData(String name){
		this.name = name;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public int getRounds() {
		return rounds;
	}


	public void setRounds(int rounds) {
		this.rounds = rounds;
	}

}
